<?php
$root_dir = dirname(dirname(dirname(__FILE__)));
include($root_dir . "/library/db/db.class.php");


$db = DB::getConn();
echo "<pre>";
var_dump($db);

$sql = "select * from think_user";
$db->execute($sql);
$res = $db->fetchAll();
var_dump($res);

?>